home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / AMOSList / AMOSLIST.0897 / 000038_amos-request@svcs1.digex.net_Mon Aug 4 21:09:09 1997.msg < prev    next >
Text File  |  1997-09-09  |  4KB  |  70 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail1.access.digex.net (8.8.5/8.8.5) with ESMTP id VAA17529
  3.     for <mcox@access.digex.net>; Mon, 4 Aug 1997 21:09:07 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id SAA01883
  6.     for amos-out; Mon, 4 Aug 1997 18:58:42 -0400 (EDT)
  7. Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id SAA01880
  9.     for <amos-list@svcs1.digex.net>; Mon, 4 Aug 1997 18:58:41 -0400 (EDT)
  10. Received: from haven.uchicago.edu (root@haven.uchicago.edu [128.135.12.3])
  11.     by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id SAA14862
  12.     for <amos-list@access.digex.net>; Mon, 4 Aug 1997 18:58:40 -0400 (EDT)
  13. Received: from midway.uchicago.edu (root@midway.uchicago.edu [128.135.12.12])
  14.     by haven.uchicago.edu (8.8.5/8.8.5) with ESMTP id RAA16251;
  15.     Mon, 4 Aug 1997 17:58:27 -0500 (CDT)
  16. Received: from kimbark.uchicago.edu (15273@kimbark.uchicago.edu [128.135.12.52]) by midway.uchicago.edu (8.8.5/8.8.3) with ESMTP id RAA03331; Mon, 4 Aug 1997 17:58:03 -0500 (CDT)
  17. Received: from localhost (sdmatott@localhost) by kimbark.uchicago.edu (8.8.5/8.8.3) with SMTP id RAA12058; Mon, 4 Aug 1997 17:58:01 -0500 (CDT)
  18. X-Authentication-Warning: kimbark.uchicago.edu: sdmatott owned process doing -bs
  19. Date: Mon, 4 Aug 1997 17:58:01 -0500 (CDT)
  20. From: Scott Douglas Matott <sdmatott@midway.uchicago.edu>
  21. X-Sender: sdmatott@kimbark.uchicago.edu
  22. Reply-To: Scott Douglas Matott <sdmatott@midway.uchicago.edu>
  23. To: Garfield Benjamin <gbenjam@ix.netcom.com>
  24. cc: Amos List <amos-list@access.digex.net>
  25. Subject: Help Speeind up graphics... (caster cont.)
  26. In-Reply-To: <yam7153.2426.2791992@smtp.ix.netcom.com>
  27. Message-ID: <Pine.GSO.3.95.970804174128.10631B-100000@kimbark.uchicago.edu>
  28. MIME-Version: 1.0
  29. Content-Type: TEXT/PLAIN; charset=US-ASCII
  30. Status: O
  31. X-Status: 
  32.  
  33.  
  34.     Garfield,
  35.     Yup 28 vbl's just to draw the screen one line at a time!
  36.     How crapulent!  However that's using Amos's Draw command
  37.     which is actually slower than my caster will need since it's 
  38.     designed to draw lines of any orientation, whereas all I need
  39.     are straight horizontal lines.  So to get around this problem
  40.     i tried using the Bar command, and low and behold it is faster,
  41.     much faster, it takes about 4 vbls on my system to fill the whole
  42.     screen, so that's 12 fps, still not that good, oh and worse
  43.     yet Turbo doesn't seem to provide any faster comands, it has
  44.     Graphics cursor commands which it claims are more convenient than
  45.     Amos's bar commands, but they don't appear to be any faster.
  46.     Still worse than that Bar and F Bar (the turbo version) can't draw
  47.     single lines, the smallest they'll go is 2x2 so that
  48.     would give my renderer a max resolution of 100 lines,
  49.     not very good.   On the plus side though I've learned to beat 
  50.     Amos's slow array access by simply peeking and poking the values
  51.     directly into memory banks, then I make the 2 dimensional
  52.     arrays use powers of two as there depth, so my recall schemes
  53.     look like this  peek(start_bank+Y*16+X),
  54.     without compiling this method is jsut about even with standard
  55.     Amos array calls, but since the compiler changes that Y*16
  56.     into a bit roll (lsr/lsl) the compiled code is around 30-40%
  57.     Faster.  Plus this method allows me to use the fast Copy command
  58.     to copy chunks of my large Map to the smaller, visible one
  59.     as opposed to some kind of for..next loop to copy array values
  60.     which I'm sure would have been god awful slow..
  61.     So anyway I've still got hold out hope to get this caster going,
  62.     Was wondering if maybe somebody had a Machine code 
  63.     procedure to draw horz lines?  Or maybe knows of faster
  64.     comands/routines, perhaps somehting from Turbo that I missed
  65.     it's supposed to be hyper fast.    
  66.     Well thanks for all the help so far, I just hope there' more to
  67.     come..
  68.             Thanks,
  69.                 Scott Matott sXe
  70.